package com.zatech.cgnci.project.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author EDY
 * @version 1.0
 * Create by 2024/12/17 18:01
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "FlowTaskBackDTO")
@Builder
public class FlowTaskBackDTO {

    @ApiModelProperty(value = "业务主键id")
    @NotBlank(message = "业务主键id不能为空")
    private String formId;

    @ApiModelProperty(value = "流程编号")
    @NotBlank(message = "formNo cannot be null")
    private String formNo;

    @ApiModelProperty(value = "退回节点")
    @NotNull(message = "退回节点不能为空")
    private Integer approvalNode;

    @ApiModelProperty(value = "意见")
    @NotBlank(message = "意见不能为空")
    private String approverOpinions;

   /* @ApiModelProperty(value = "userId",hidden = true)
    private String userId;

    @ApiModelProperty(value = "userName",hidden = true)
    private String userName;*/

}
